package org.jeecg.modules.tplus.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.common.aspect.annotation.FieldName;

/**
 *  往来单位查询字段
 *
 * @author hzq
 */
@Data
public class PartnerQueryFieldRepDto {
    /**
     * 往来单位id
     */
    @Schema(description = "往来单位id")
    @JsonProperty(value = "ID")
    @FieldName(name = "往来单位id",value = "ID")
    private String id;


    /**
     * 往来单位编码
     */
    @Schema(description = "往来单位编码")
    @JsonProperty(value = "Code")
    @FieldName(name = "往来单位编码",value = "Code")
    private String code;

    /**
     * 客户编码
     */
    @Schema(description = "客户编码")
    @JsonProperty(value = "Shorthand")
    @FieldName(name = "客户编码",value = "Shorthand")
    private String shortHand;

    /**
     * 客户或是供应商的名称
     */
    @Schema(description = "客户或是供应商的名称")
    @JsonProperty(value = "Name")
    @FieldName(name = "客户或是供应商的名称",value = "Name")
    private String name;

    /**
     * 客户简称
     */
    @JsonProperty(value = "PartnerAbbName")
    @FieldName(name = "客户简称",value = "PartnerAbbName")
    private String partnerAbbName;
}
